From: Florian Müllner Date: Tue, 18 Feb 2020 21:23:26 +0000 (+0100) Subject: authPrompt: Fix cancel button visibility X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~772^2^2~110 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=24c8f5bb709b072c603c551cb090c5606f8b8a8a;p=gnome-shell.git authPrompt: Fix cancel button visibility Grrr, this slipped in in 5cad5c20e9f, and we don't have a compiler to catch those kinds of bugs :-( https://gitlab.gnome.org/GNOME/gnome-shell/issues/2228 --- diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index 8624d17f4..8cb1f305c 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -81,7 +81,7 @@ var AuthPrompt = GObject.registerClass({ }); this.add_child(this._userWell); - this._hasCancelButton = this._mode === AuthPromptStatus.UNLOCK_OR_LOG_IN; + this._hasCancelButton = this._mode === AuthPromptMode.UNLOCK_OR_LOG_IN; this._initEntryRow();